package com.tct.worktimeboard.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liyongkui
 * @since 2021-02-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class WorkKind extends PageObject implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 工作分类ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 工作名称
     */
    @Excel(name = "工作类型名称",orderNum = "1")
    private String workName;

    /**
     * 工作分类说明
     */
    @Excel(name = "工作类型描述",orderNum = "2")
    private String remark;

    @Excel(name = "工作工时",orderNum = "2")
    @TableField(exist = false)
    private String workTime;
}
